﻿namespace Extensions.Consul.Entity
{
    /// <summary>
    /// Consul 参数
    /// </summary>
    public class ServiceEntity
    {
        /// <summary>
        /// 服务的 Ip
        /// </summary>
        public string IP { get; set; }
        /// <summary>
        /// 服务的 端口
        /// </summary>
        public int Port { get; set; }
        /// <summary>
        /// 服务的名称
        /// </summary>
        public string ServiceName { get; set; }
        /// <summary>
        /// Consul 注册的Ip 
        /// </summary>
        public string ConsulIP { get; set; }
        /// <summary>
        /// Consul 注册的端口
        /// </summary>
        public int ConsulPort { get; set; }
    }
}
